-
Notifications
You must be signed in to change notification settings - Fork 72
Add new cursor-cli module #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add AgentAPI integration similar to goose module - Support both interactive and non-interactive modes - Include installation and start scripts for cursor-agent - Update README with comprehensive CLI usage examples - Add tests for new CLI functionality - Maintain backward compatibility with desktop app - Configure interactive mode with text output Co-authored-by: matifali <[email protected]>
Co-authored-by: matifali <[email protected]>
- Create separate cursor-cli module instead of modifying existing cursor module - Add AgentAPI integration for web interface and CLI support - Support both interactive and non-interactive modes - Include installation and start scripts for cursor-agent - Comprehensive documentation with CLI usage examples - Add tests for CLI functionality - Configure interactive mode with text output Co-authored-by: matifali <[email protected]>
Co-authored-by: matifali <[email protected]>
- Undo all changes to existing cursor module - Keep only the new cursor-cli module - Ensure backward compatibility Co-authored-by: matifali <[email protected]>
Co-authored-by: matifali <[email protected]>
This file was added to main branch and has formatting issues that cause CI to fail on merge commits. Co-authored-by: matifali <[email protected]>
|
||
# Cursor CLI | ||
|
||
Run the [Cursor CLI](https://docs.cursor.com/en/cli/overview) agent in your workspace for terminal-based AI coding assistance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a screenshot with this and Coder Tasks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea! I'll add a screenshot showing the cursor-cli module working with Coder Tasks. Let me set that up and add it to the README.
- **MCP Support**: Model Context Protocol for extended functionality | ||
- **Rules System**: Custom agent behavior configuration | ||
|
||
## Examples |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have an example of how to use with Coder Tasks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely! I'll add a comprehensive example showing how to integrate cursor-cli with Coder Tasks for automated workflows. This will include both interactive and non-interactive usage patterns.
- Add MCP (Model Context Protocol) configuration options - Add force mode for non-interactive automation - Add default model selection - Add rules system configuration - Update install script to configure MCP and rules - Update start script with environment variables - Add comprehensive Coder Tasks integration examples - Add configuration variables table - Add screenshot section placeholder - Update terminal usage examples with force mode Features added: - enable_mcp: Enable/disable MCP support - mcp_config_path: Custom MCP configuration file path - enable_force_mode: Enable force mode for automation - default_model: Set default AI model - enable_rules: Enable rules system Co-authored-by: matifali <[email protected]>
Edit: We can do a Coder Tasks integration second and can just release this with CLI only |
This PR adds a new
cursor-cli
module to the registry, following the same pattern as the goose module. This approach keeps the existing cursor module unchanged and provides a dedicated module for CLI functionality.Changes
cursor-cli
module instead of modifying existingcursor
moduleFeatures
✅ CLI agent with interactive mode
✅ Non-interactive mode for automation
✅ AgentAPI web interface
✅ Session management (list, resume)
✅ Model selection support
✅ Text output format
✅ MCP and rules system support
✅ Separate from existing cursor desktop module
Usage Examples
Benefits
Tested with the new test suite for CLI functionality.